﻿using System;
using System.ComponentModel;
using WhereIam.Dbs;

namespace WhereIam.Entities
{
    public class DailyLocation
    {
        public string IdDailyLocation { get; set; }

        [DisplayName("日期")]
        public DateTime? Today { get; set; }

        [DisplayName("员工")]
        public string EmployeeName { get; set; }

        [DisplayName("部门")]
        public string DeptName { get; set; }

        [DisplayName("所在位置")]
        public string LocationName { get; set; }

        [DisplayName("位置符号")]
        public string Fh { get; set; }
    }

    public class DailyLocationBll : DBCommon<DailyLocation>
    {
        public override string TableName
        {
            get { return "DailyLocation"; }
        }

        public override string PrimaryKey
        {
            get { return "IdDailyLocation"; }
        }

        public override string ConnKey
        {
            get { return "default"; }
        }

        public override string ParaF
        {
            get { return "@"; }
        }
    }
}